#include "mainwindow.h"
#include <QApplication>
#include <QPixmap>
#include <QSplashScreen>


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;

    QPixmap pixmap("screen.png");
    QSplashScreen splash(pixmap);
    splash.show();
    for (long i = 0; i < 1000000000; i++);
    w.show();
    splash.finish(&w);
    return a.exec();
}
